package com.xx.service;

import com.xx.dao.HandSetDao;
import com.xx.entity.Hand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * @author 许欣
 * 时间：2022/5/2 19:59
 * 描述：
 */
@Service("handSetService")
public class HandSetServiceImpl implements HandSetService {
    @Autowired
    private HandSetDao handSetDao;

    @Override
    public List<Hand> findAll() {
        return handSetDao.findAll();
    }

    @Override
    public List<Hand> findById(Integer hsId) {
        return handSetDao.findById(hsId);
    }

    @Override
    public int del(int hsId) {
        return handSetDao.del(hsId);
    }
}
